Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Option to notarize macOS builds #685

Merged
merged 1 commit into from
Jun 5, 2024
Merged

Conversation

jdpurcell
Copy link
Contributor

Most of it is fairly boilerplate stuff that you'll find by searching how to integrate signing/notarization into CI. Adds an input to the workflow that when checked, requires the following secrets:
APPLE_DEVID_APP_CERT_DATA: Your Developer ID Application certificate exported as P12 + base64 encoded
APPLE_DEVID_APP_CERT_PASS: The export password for that certificate
APPLE_ID_USER: Your Apple ID (i.e. email address)
APPLE_ID_PASS: Not your actual Apple password; rather an app-specific password

The openssl/grep/awk stuff is just some magic to detect the common name from the certificate instead of needing to have an additional pre-defined variable or secret for it.

@jurplel
Copy link
Owner

jurplel commented Jun 4, 2024

Resolve the merge conflicts with the other PR and i will merge

@jdpurcell
Copy link
Contributor Author

@jurplel Rebased onto master. And for proof that it works, here's a run through my Actions environment with the notarize option on.

@jurplel jurplel merged commit f0d9627 into jurplel:master Jun 5, 2024
6 checks passed
@jdpurcell jdpurcell deleted the notarize branch June 29, 2024 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants